class AbsTask(object):
    @staticmethod
    def get_task():
        """
        :return:
        """
        return TaskFactory()


class TaskFactory(AbsTask):
    @staticmethod
    def wanfang_bz():
        return WanFangTask()


class WanFangTask(TaskFactory):
    pass







BaseTask()
